#!/usr/bin/env python
# coding:utf-8
# @Time :9/10/18 18:26


REQUEST_SERVICE_CONF = {
    "DYNAMIC_PROXY_URL": "",
    "STATIC_PROXY_URL": "http://192.168.0.90:9500/proxy/ip",

    "PROXY_MAX_RETRY_TIMES": 20,
    "PROXY_REQUEST_TIME_OUT": 10,
    "PROXY_TIME_SLEEP_WHEN_ERROR_HAPPENED": 3,
    "DEFAULT_DYNAMIC_PROXY_RATE": 0.3,

    "URL_MAX_RETRY_TIMES": 20,
    "URL_REQUEST_TIME_OUT": 10,
    "URL_TIME_SLEEP_WHEN_ERROR_HAPPENED": 3,
}